import grails.test.mixin.*
import spock.lang.*

@TestFor(UrlMappings)
@Mock(io.github.luyanfei.QuestionController)
class UrlMappingsSpec extends Specification {

  void "test question controller's url mappings"() {
    expect:
    assertForwardUrlMapping("/question/index",controller:"question",action:"index") 
  }
}